package com.zone.mybatis.transaction;

import com.zone.mybatis.session.TransactionIsolationLevel;

import javax.sql.DataSource;

/**
 * @author: zongzi
 * @description: TODO
 * @date: 2023/12/21
 */
public interface TransactionFactory {

    Transaction newTransaction(DataSource dataSource, TransactionIsolationLevel transactionIsolationLevel, boolean autoCommit);
}
